package io.github.springstudent.client;

import io.github.springstudent.api.HelloService;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * @author zhouning
 * @date 2022/07/29 9:33
 */
public class HelloServiceImpl extends UnicastRemoteObject implements HelloService {

    protected HelloServiceImpl() throws RemoteException {
    }

    @Override
    public int clientStatus() throws RemoteException {
        return 1;
    }
}
